package com.ccsu.mymarket.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccsu.mymarket.entity.Authority;
import com.ccsu.mymarket.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleDao extends BaseMapper<Role> {
    public List<Integer> getAuthoIdList();

    public List<Role> selectByKey(Integer key);

    public List<Role> getRoles();

}
